package com.yxpweb.redisdao.entity;

/**
 * 高光数据
 * @author YH.L
 * @date 2020年12月18日.
 **/
public class HighLightInfo {
    private Integer killCount;      // 几杀
    private Integer comboNum;     // 连击数

    /**
     * 是否是首推
     * @return
     */
    public boolean first() {
        if (killCount != null && killCount >= 10) {
            return true;
        }
        if (comboNum != null && comboNum >= 10) {
            return true;
        }
        return false;
    }

    public Integer getKillCount() {
        return killCount == null ? 0 : killCount;
    }

    public void setKillCount(Integer killCount) {
        this.killCount = killCount;
    }

    public Integer getComboNum() {
        return comboNum == null ? 0 : comboNum;
    }

    public void setComboNum(Integer comboNum) {
        this.comboNum = comboNum;
    }
}
